package com.reggie.service.impl;

import com.reggie.mapper.UserMapper;
import com.reggie.pojo.User;
import com.reggie.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    @Override
    public User find(String phone) {
        User user = userMapper.find(phone);
        return user;
    }
}
